import { getLocalStorage } from '@/utils/auth'
const user = {
  state: {
    userData: []
  },
  mutations: {
    setUser: (state, userData) => {
      state.userData = userData||getLocalStorage('userData')
    }
  }
}

export default user
